org.globalplatform.contactless
Interface CRELApplication

All Superinterfaces:
javacard.framework.Shareable
All Known Subinterfaces:
CRSApplication

public interface CRELApplication
extends javacard.framework.Shareable

A CREL Application is an application associated to one or several Applications.

This interface shall be implemented by CREL applications so that they can be notified by the OPEN of changes occurring to their associated contactless applets (parameters and/or life cycle).

The CREL application shall expose the CRELApplication interface object(s) through Applet.getShareableInterfaceObject(javacard.framework.AID, byte) only if the client AID is null and the parameter is set to GPCLSystem.GPCL_CREL_APPLICATION. A CREL Application shall not be notified when it is the originator of an event.


Method Summary
 void notifyCLEvent(GPCLRegistryEntry target, short event)
          Notifies the CREL Application that the applet associated with specified GPCLRegistryEntry was updated according to specified event.
 

Method Detail

notifyCLEvent

void notifyCLEvent(GPCLRegistryEntry target,
                   short event)
Notifies the CREL Application that the applet associated with specified GPCLRegistryEntry was updated according to specified event.

In case of EVENT_DELETED the target GPCLRegistryEntry shall only be used to retrieve the AID; other methods will fail and throw an javacard.framework.SystemException

If the Applet implementing the CRELApplication interface returns from the notification and initiated transaction in progress,then the OPEN automatically aborts the transaction.

Parameters:
target - the GPCLRegistryEntry of the Application whose state or data were updated
event - event (CLAppletEvent) affecting the target application